package com.ruoyi.youtian.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 场景对象 t_scence_category
 *
 * @author ruoyi
 * @date 2022-09-12
 */
@Data
public class TSceneCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long sceneId;

    /** 场景名称 */
    @Excel(name = "场景名称")
    private String sceneName;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    private Long level;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 子站点*/
    private List<TSceneCategory> children = new ArrayList<TSceneCategory>();

    /**
     * 设备集合列表
     */
    private List<Long> equipmentIdList = new ArrayList<Long>();


    /** 单位id **/
    private Long deptId;

    /** 单位名称 **/
    private String deptName;


    /**部门Id**/
    private Integer bmId;


    /** 部门名称 **/
    private String bmName;

    private String labelType;

    /** 作业区ID **/
    private Integer zyqId;

    /** 作业区名称 **/
    private String zyqName;

    /** 二级单位ID */
    private Long ejdwId;

    /** 二级单位名称 */
    @Excel(name = "二级单位名称")
    private String ejdwName;

    /** 点位三级 */
    private Long dw_3_id;

    private String dw_3_name;

    /** 点位四级 */
    private Long dw_4_id;

    private String dw_4_name;

    /** 点位五级 */
    private Long dw_5_id;

    private String dw_5_name;

    /**
     * 监测点位
     */
    private String Description;

    public TSceneCategory() {
    }

    public TSceneCategory( Long sceneId, String sceneName, Long parentId, Long level, String ancestors, String delFlag, List<TSceneCategory> children, List<Long> equipmentIdList, Long deptId, String deptName, Integer bmId, String bmName, String labelType, Integer zyqId, String zyqName, Long ejdwId, String ejdwName, Long dw_3_id, String dw_3_name, Long dw_4_id, String dw_4_name, Long dw_5_id, String dw_5_name, String Description) {
        this.sceneId = sceneId;
        this.sceneName = sceneName;
        this.parentId = parentId;
        this.level = level;
        this.ancestors = ancestors;
        this.delFlag = delFlag;
        this.children = children;
        this.equipmentIdList = equipmentIdList;
        this.deptId = deptId;
        this.deptName = deptName;
        this.bmId = bmId;
        this.bmName = bmName;
        this.labelType = labelType;
        this.zyqId = zyqId;
        this.zyqName = zyqName;
        this.ejdwId = ejdwId;
        this.ejdwName = ejdwName;
        this.dw_3_id = dw_3_id;
        this.dw_3_name = dw_3_name;
        this.dw_4_id = dw_4_id;
        this.dw_4_name = dw_4_name;
        this.dw_5_id = dw_5_id;
        this.dw_5_name = dw_5_name;
        this.Description = Description;
    }

    /**
     * 获取
     * @return sceneId
     */
    public Long getSceneId() {
        return sceneId;
    }

    /**
     * 设置
     * @param sceneId
     */
    public void setSceneId(Long sceneId) {
        this.sceneId = sceneId;
    }

    /**
     * 获取
     * @return sceneName
     */
    public String getSceneName() {
        return sceneName;
    }

    /**
     * 设置
     * @param sceneName
     */
    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    /**
     * 获取
     * @return parentId
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取
     * @return level
     */
    public Long getLevel() {
        return level;
    }

    /**
     * 设置
     * @param level
     */
    public void setLevel(Long level) {
        this.level = level;
    }

    /**
     * 获取
     * @return ancestors
     */
    public String getAncestors() {
        return ancestors;
    }

    /**
     * 设置
     * @param ancestors
     */
    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    /**
     * 获取
     * @return delFlag
     */
    public String getDelFlag() {
        return delFlag;
    }

    /**
     * 设置
     * @param delFlag
     */
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取
     * @return children
     */
    public List<TSceneCategory> getChildren() {
        return children;
    }

    /**
     * 设置
     * @param children
     */
    public void setChildren(List<TSceneCategory> children) {
        this.children = children;
    }

    /**
     * 获取
     * @return equipmentIdList
     */
    public List<Long> getEquipmentIdList() {
        return equipmentIdList;
    }

    /**
     * 设置
     * @param equipmentIdList
     */
    public void setEquipmentIdList(List<Long> equipmentIdList) {
        this.equipmentIdList = equipmentIdList;
    }

    /**
     * 获取
     * @return deptId
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置
     * @param deptId
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return bmId
     */
    public Integer getBmId() {
        return bmId;
    }

    /**
     * 设置
     * @param bmId
     */
    public void setBmId(Integer bmId) {
        this.bmId = bmId;
    }

    /**
     * 获取
     * @return bmName
     */
    public String getBmName() {
        return bmName;
    }

    /**
     * 设置
     * @param bmName
     */
    public void setBmName(String bmName) {
        this.bmName = bmName;
    }

    /**
     * 获取
     * @return labelType
     */
    public String getLabelType() {
        return labelType;
    }

    /**
     * 设置
     * @param labelType
     */
    public void setLabelType(String labelType) {
        this.labelType = labelType;
    }

    /**
     * 获取
     * @return zyqId
     */
    public Integer getZyqId() {
        return zyqId;
    }

    /**
     * 设置
     * @param zyqId
     */
    public void setZyqId(Integer zyqId) {
        this.zyqId = zyqId;
    }

    /**
     * 获取
     * @return zyqName
     */
    public String getZyqName() {
        return zyqName;
    }

    /**
     * 设置
     * @param zyqName
     */
    public void setZyqName(String zyqName) {
        this.zyqName = zyqName;
    }

    /**
     * 获取
     * @return ejdwId
     */
    public Long getEjdwId() {
        return ejdwId;
    }

    /**
     * 设置
     * @param ejdwId
     */
    public void setEjdwId(Long ejdwId) {
        this.ejdwId = ejdwId;
    }

    /**
     * 获取
     * @return ejdwName
     */
    public String getEjdwName() {
        return ejdwName;
    }

    /**
     * 设置
     * @param ejdwName
     */
    public void setEjdwName(String ejdwName) {
        this.ejdwName = ejdwName;
    }

    /**
     * 获取
     * @return dw_3_id
     */
    public Long getDw_3_id() {
        return dw_3_id;
    }

    /**
     * 设置
     * @param dw_3_id
     */
    public void setDw_3_id(Long dw_3_id) {
        this.dw_3_id = dw_3_id;
    }

    /**
     * 获取
     * @return dw_3_name
     */
    public String getDw_3_name() {
        return dw_3_name;
    }

    /**
     * 设置
     * @param dw_3_name
     */
    public void setDw_3_name(String dw_3_name) {
        this.dw_3_name = dw_3_name;
    }

    /**
     * 获取
     * @return dw_4_id
     */
    public Long getDw_4_id() {
        return dw_4_id;
    }

    /**
     * 设置
     * @param dw_4_id
     */
    public void setDw_4_id(Long dw_4_id) {
        this.dw_4_id = dw_4_id;
    }

    /**
     * 获取
     * @return dw_4_name
     */
    public String getDw_4_name() {
        return dw_4_name;
    }

    /**
     * 设置
     * @param dw_4_name
     */
    public void setDw_4_name(String dw_4_name) {
        this.dw_4_name = dw_4_name;
    }

    /**
     * 获取
     * @return dw_5_id
     */
    public Long getDw_5_id() {
        return dw_5_id;
    }

    /**
     * 设置
     * @param dw_5_id
     */
    public void setDw_5_id(Long dw_5_id) {
        this.dw_5_id = dw_5_id;
    }

    /**
     * 获取
     * @return dw_5_name
     */
    public String getDw_5_name() {
        return dw_5_name;
    }

    /**
     * 设置
     * @param dw_5_name
     */
    public void setDw_5_name(String dw_5_name) {
        this.dw_5_name = dw_5_name;
    }

    /**
     * 获取
     * @return Description
     */
    public String getDescription() {
        return Description;
    }

    /**
     * 设置
     * @param Description
     */
    public void setDescription(String Description) {
        this.Description = Description;
    }

    public String toString() {
        return "TSceneCategory{serialVersionUID = " + serialVersionUID + ", sceneId = " + sceneId + ", sceneName = " + sceneName + ", parentId = " + parentId + ", level = " + level + ", ancestors = " + ancestors + ", delFlag = " + delFlag + ", children = " + children + ", equipmentIdList = " + equipmentIdList + ", deptId = " + deptId + ", deptName = " + deptName + ", bmId = " + bmId + ", bmName = " + bmName + ", labelType = " + labelType + ", zyqId = " + zyqId + ", zyqName = " + zyqName + ", ejdwId = " + ejdwId + ", ejdwName = " + ejdwName + ", dw_3_id = " + dw_3_id + ", dw_3_name = " + dw_3_name + ", dw_4_id = " + dw_4_id + ", dw_4_name = " + dw_4_name + ", dw_5_id = " + dw_5_id + ", dw_5_name = " + dw_5_name + ", Description = " + Description + "}";
    }
}
